package com.sc.mapper;

import com.sc.pojo.Posttype;

import java.util.List;

public interface PosttypeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Posttype record);

    int insertSelective(Posttype record);

    Posttype selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Posttype record);

    int updateByPrimaryKey(Posttype record);

    List<Posttype> queryAll();

    //重置该类型帖子的类型位null
    int reSetPostType(Integer typeid);
}